<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="layout" content="main"/>
    <title>Login</title>
    <link rel="stylesheet" href="${createLinkTo(dir: 'css', file: 'login.css')}"/>
</head>
<body>
<div id="login">
    <div class="inner">
        <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
        </g:if>
        <div class="fheader">Login to simpleissue</div>
        <g:form action="signIn" id="loginForm" class="cssform">
            <input type="hidden" name="targetUri" value="${targetUri}"/>
            <p>
                <label for="username">Username:</label>
                <input type="text" class="text_" name="username" id="username" value="${username}"/>
            </p>
            <p>
                <label for="password">Password:</label>
                <input type="password" class="text_" name="password" id="password" value=""/>
            </p>
            <p>
                <label for="rememberMe">Remember me?:</label>
                <g:checkBox name="rememberMe" id="rememberMe" value="${rememberMe}"/>
            </p>
            <p>
                <input type="submit" value="Sign in"/>
            </p>
        </g:form>
    </div></div>
</body>
</html>
